<div class="action-dialog-model-fixed-body">
    <div class="detailsBox">
        <h3>客户门店信息</h3>
            <div class="detaiTab">
                <input id="loanapplyNo" type="hidden" value="${o2oLoanapplyEntity.loanapplyNo}" name="loanapplyNo">
                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                    <tbody>
                    <tr>
                    	
                        <td width="15%" align="right" class="bg"> 产权性质：</td>
						<td colspan="3">
                            <@select dataSouceType="PROPERTYTYPE"  value="${view.propertytype}" name="propertytype" renderonly="true"/>
                        </td>	
						</tr>
						<tr>
                        <td width="15%" align="right" class="bg">门店经营环境描述：</td>
                        <td colspan="3">
							${view.manageps}
                        </td>
                    </tr>
                    <tr>
                        
                        <td width="15%" align="right" class="bg">门店电话：</td>
                        <td >
                        <#if type=="detail" || approvalStatus=='UNDO'>
							${view.telephone}
						<#else>
							*********
							<@permission permissionName="UpdateInternalInfo">
								<a class="action-ajax-btn fr edit btn_blue" href="/customer/shop/rest/view_info_new?customerShopId=${view.customerShopId}">查看</a>
							</@permission>
						</#if>
                        </td>
                        <td width="15%" align="right" class="bg">门店成立日期：</td>
                        <td >
 							${(view.stupdate?string('yyyy-MM-dd'))!''}
                        </td>
                    </tr>
                    <tr>
                        <td width="15%" align="right" class="bg">门店地址：</td>
                        <td colspan='3'>
                        <#if type=="detail" || approvalStatus=='UNDO'>
							<span id="mddz"><@select dataSouceType="province" name="shopprovince"  id="select_shop_provinceId" value="${view.shopprovince}" renderonly="true"/>
                            &nbsp;&nbsp;<@select dataSouceType="city" dataSouceFrom="${view.shopprovince}" name="shopcity"  id="select_shop_cityId" value="${view.shopcity}" renderonly="true" />
                            &nbsp;&nbsp;<@select dataSouceType="country" dataSouceFrom="${view.shopcity}" name="shopcounty"  id="select_shop_districtId" value="${view.shopcounty}" renderonly="true"/>
                            &nbsp;&nbsp;${view.shopaddress}</span> &nbsp;&nbsp;
                            <a href="javascript:void(0);" target="_blank" onclick="mddzmap(this)">地图中查看</a>
						<#else>
							*********
							<@permission permissionName="ShopInfo">
								<a class="action-ajax-btn fr edit btn_blue" href="/customer/shop/rest/view_info_new?customerShopId=${view.customerShopId}">查看</a>
							</@permission>
						</#if>
                        </td>
                    </tr>


                    <tr>
                        <td width="15%" align="right" class="bg">营业面积/平方米：</td>
                        <td>
                        ${view.businessarea}
                        </td>
                        <td width="15%" align="right" class="bg">年租金（元）：</td>
                        <td>
                        ${view.shoprentyear}
                    </tr>
                    
                    <tr>
                        <td width="15%" align="right" class="bg">租赁合同起止日期：</td>
                        <td>
                        	${(view.shoprentstart?string('yyyy-MM-dd'))!''}到
                        	${(view.shoprentend?string('yyyy-MM-dd'))!''}
                        </td>
                        <td width="15%" align="right" class="bg">存货价值预估（元）：</td>
                        <td>
                        ${view.storeinvamount}
                        </td>
                    </tr>
                    
                    <tr>
                        <td width="15%" align="right" class="bg">装修新旧程度：</td>
                        <td>
                            <@select dataSouceType="RENOVATIONOLDNEW" name="newtype" value="${view.newtype}" class="action-valid-field" data\-action\-valid\-rule="required;" data\-action\-valid\-msg\-required="装修新旧程度不能为空！" renderonly="true"/>
                            <span class="action-field-error" for="newtype" style="color:red;"></span>
                        </td>
                        
                        <td width="15%" align="right" class="bg">货架是否整齐：</td>
                        <td>
                        <@select dataSouceType="STORAGETYPE" name="istype" value="${view.istype}" class="action-valid-field" data\-action\-valid\-rule="required;" data\-action\-valid\-msg\-required="货架是否整齐不能为空！" renderonly="true"/>
                            <span class="action-field-error" for="istype" style="color:red;"></span>
                        </td>
                    </tr>
                    <tr>
                       <td width="15%" align="right" class="bg">存货效期描述：</td>
                        <td colspan="3">
                        ${view.stockps}
                        </td>
                    </tr>

                 

                 
                   
                   
                  
                    </tbody>
                </table>
            </div>
           
          
<script type="text/javascript">

function mddzmap(obj){
	var location = $('#mddz').html().replace(/[\r\n &nbsp;]/g,'');
	obj.href='http://api.map.baidu.com/geocoder?address='+location+'&output=html&src=';
}

</script>



	
    </div>

    <div>
	

	
 
		
